package com.kaili.basic.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.kaili.basic.pojo.entity.MdmAlarmSubEntity;
import com.kaili.basic.pojo.vo.MdmAlarmSubVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * @Desc: Mapper接口
 * @author: jianfeng
 * @Time: 2019/7/24 11:15
 * @Copyright: © 2018 杭州凯立通信有限公司 版权所有
 * @Warning: 本内容仅限于公司内部传阅, 禁止外泄或用于其它商业目的
 */
@Mapper
public interface AlarmSubMapper extends BaseMapper<MdmAlarmSubEntity> {

    /**
    * @Desc:  批量修改订阅
    * @author: jianfeng
    * @Time: 2019/8/5 8:54
    * @param list
    * @return java.lang.Boolean
    */
    Boolean updateBatch(@Param("list") List<MdmAlarmSubEntity> list);

    /**
     * @Desc:  查询所有订阅信息
     * @author: jianfeng
     * @Time: 2019/8/5 14:59
     *
     * @return java.util.List<com.kaili.basic.pojo.vo.MdmAlarmSubVo>
     */
    List<MdmAlarmSubVo> querySubList();



}
